//
//  HttpClient.h
//  TrainTree
//
//  Created by wanghui on 2017/8/25.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "RequestParam.h"
#import "AFNetworking.h"
typedef void(^ResponseData)(id JSONData,NSError *error,NSURLSessionDataTask *dataTask);

@interface HttpClient : AFHTTPSessionManager
+ (instancetype)shareInstanceClient;
- (void)PostReqeustParameter:(RequestParam *)param
                    response:(ResponseData)responseBlock;

- (void)GetReqeustParameter:(RequestParam *)param
                   response:(ResponseData)responseBlock;
@end
